<template>
  <div class="home">
    <form>
      <input type="text" v-model="loginForm.username">
      <input type="text" v-model="loginForm.password">
    </form>
  </div>
</template>

<script>
export default {
  name: 'home',
  created(){
    console.log(111)
  },
  activated(){
    console.log(222)
  },
  data(){
    return {
      loginForm:{
        username:'',
        password:''
      }
    }
  }
}
</script>
